package cn.tedu.medicalpath.attendance.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class AttendanceVO {
    @ApiModelProperty(value = "就诊记录表ID")
    private Long id;
    @ApiModelProperty(value = "患者ID，关联到患者信息表")
    private Long patientId;
    @ApiModelProperty(value = "医生ID，关联到医生信息表")
    private Long doctorId;
    @ApiModelProperty(value = "就诊状态")
    private String status;
    @ApiModelProperty(value = "就诊类型，“10”初诊，”20“复诊")
    private String type;
    @ApiModelProperty(value = "检查单ID")
    private Long inspectionId;
    @ApiModelProperty(value = "处方单ID")
    private Long prescriptionId;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    @ApiModelProperty(value = "备注，如退号原因")
    private String remark;
    @ApiModelProperty(value = "患者主诉")
    private String chiefComplaint;
    @ApiModelProperty(value = "既往病史")
    private String pastMedicalHistory;
    //患者表信息
    @ApiModelProperty(value = "患者姓名")
    private String name;
    @ApiModelProperty(value = "患者性别")
    private String gender;
    @ApiModelProperty(value = "患者年龄")
    private Integer age;
    @ApiModelProperty(value = "患者手机号")
    private String phoneNum;
    @ApiModelProperty(value = "患者身份证号")
    private String personId;
    @ApiModelProperty(value = "患者地址")
    private String address;
    @ApiModelProperty(value = "患者血型")
    private String bloodType;
    @ApiModelProperty(value = "紧急联系人姓名")
    private String emergencyContactName;
    @ApiModelProperty(value = "紧急联系人电话")
    private String emergencyContactPhone;
    @ApiModelProperty(value = "婚姻状况")
    private String maritalStatus;
    @ApiModelProperty(value = "医保号")
    private String insuranceNum;
}
